package com.hzeport.bgs22emduty.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.converters.date.DateDateConverter;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.util.Date;

@Data
public class DutyScheduleExcelFailVO {

    /**
     * $column.comments
     */
    @ApiModelProperty(value="$column.comments")
    @ExcelProperty("*排班类型")
    @TableField(value ="S_TYPE")
    @JsonProperty(value = "sType")
    private String sType;
    /**
     * $column.comments
     */
    @ExcelProperty(value = "*值班日期",converter = DateDateConverter.class)
    @ApiModelProperty(value="$column.comments")
    @TableField(value ="D_DAY")
    @JsonProperty(value = "dDay")
    private Date dDay;


    /**
     * $column.comments
     */
    @ApiModelProperty(value="$column.comments")
    @ExcelProperty("*值班时段(根据本关区值班时段设置时间填写)")
    @TableField(value ="DUTY_TIMES_ID")
    @JsonProperty(value = "dutyTimesId")
    private String dutyTime;


    /**
     * $column.comments
     */
    @ApiModelProperty(value="工号")
    @ExcelProperty("*工号")
    @TableField(value ="D_USERNO")
    @JsonProperty(value = "dUserno")
    private String dUserno;


    /**
     * $column.comments
     */
    @ApiModelProperty(value="$column.comments")
    @ExcelProperty(value="值班部门")
    @TableField(value ="D_DEPT")
    @JsonProperty(value = "dDept")
    private String dDept;

    /**
     * $column.comments
     */

    @ApiModelProperty(value="$column.comments")
    @ExcelProperty(value="*值班类型")
    @JsonProperty(value = "dType")
    private String dType;

    /**
     * $column.comments
     */
    @ApiModelProperty(value="$column.comments")
    @ExcelProperty(value="*职务职级")
    @TableField(value ="D_USERJOB")
    @JsonProperty(value = "dUserjob")
    private String dUserjob;



    /**
     * $column.comments
     */
    @ApiModelProperty(value="$column.comments")
    @ExcelProperty(value="*值班人姓名")
    @TableField(value ="D_DEPTNAME")
    @JsonProperty(value = "dUsername")
    private String dUsername;

    /**
     * $column.comments
     */
//    @ApiModelProperty(value="职务职级（H4A）")
//    @ExcelProperty("职务职级（H4A）")
//    @TableField(value ="DUTYPOST")
//    @JsonProperty(value = "dutypost")
//    private String dutypost;

    /**
     * $column.comments
     */
    @ApiModelProperty(value="手机短号")
    @ExcelProperty("短号")
    @TableField(value ="PHONE_SHORT")
    @JsonProperty(value = "phoneShort")
    private String phoneShort;

    @ApiModelProperty(value="座机")
    @ExcelProperty("座机")
    @TableField(value ="D_PHONE_LAND")
    @JsonProperty(value = "dPhoneLand")
    private String dPhoneLand;

    @ApiModelProperty(value="长号")
    @ExcelProperty("长号")
    @TableField(value ="D_PHONE")
    @JsonProperty(value = "dPhone")
    private String dPhone;

    @ApiModelProperty(value="领导职务")
    @ExcelProperty("领导职务")
    @TableField(value ="LEADING_POST")
    @JsonProperty(value = "leadingPost")
    private String leadingPost;

    @ExcelIgnore
    private Integer needClear;

    @ExcelProperty("错误信息")
    private String e;
}
